package org.feign.test.fallback;

import org.feign.test.service.FeignService;
import org.springframework.stereotype.Component;

/**
 * @author LHB
 * @date 2019/10/15 16:18
 */
@Component
public class FeignFallBack implements FeignService {
    @Override
    public String get(){
        return "出错了";

    }

    @Override
    public String getUser(String name) {
        return "用户不存在";
    }
}
